<admintpl file="header1"/>
 </head>
<body>
	<div>
		<h1>说明</h1>
		测试外界接口 url 必须加上http: 比如 http://mua.ocmcom.com/Admin/Consumer/myinfo/id/1</br>
		测试本地接口url  不能加 http:   比如  /Portal/Api/index
	</div>
	<div class="wrap" style="margin-top: 5%;">
		<form method="post" class="form-horizontal" action="{:U('Test/api')}">
			<fieldset>
				<div class="control-group">
					<label class="control-label">文本:</label>
					<div class="controls">
						<input type="text" name="url" value="{$url}" style="width: 80%;">
						<span class="form-required">*</span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">结果:</label>
					<div class="controls">
						<textarea rows="5" cols="57" style="width: 80%;">
							{$result}
						</textarea>
					</div>
				</div>
			  </fieldset>
		    <div class="form-actions">
			 <button type="submit" class="btn btn-primary" style="display:block;  margin: 0 auto;">提交</button>	
			</div>
			<div class="control-group">
				测试接口 /Portal/Api/index<br />
				</div>
			</form>
			
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>